#ifndef __WEB_INTERFACE_H__
#define __WEB_INTERFACE_H__

#include <stdio.h>
typedef enum e_UsbPosition{
  e_usb_position_left = 0,
  e_usb_position_right = 1,
}E_UsbPosition;

typedef enum e_SecondScreen{
  e_SecondScreen_off = 0,
  e_SecondScreen_Temp,
  e_SecondScreen_Second
}E_SecondScreen;

typedef enum e_ChimeHour{
  e_ChimeHour_Off = 0,
  e_ChimeHour_HalfHour,
  e_ChimeHour_AnHour,
  e_ChimeHour_12Hour
}E_ChimeHour;

typedef enum e_ClockType{
  e_ClockType_12 = 1,
  e_ClockType_24 = 2
}E_ClockType; 

typedef struct s_ConfClock{
  E_ChimeHour chimehour;
  uint8_t brightness;
  uint8_t date_interval;
  uint8_t clock_type;
  bool auto_brightness;
  E_SecondScreen screen;
  E_UsbPosition usb_position;
}S_ConfClock;

char * WebInterface_WorkConfig_html(char *html, S_ConfClock * pConf);

#endif